package com.by.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.by.pojo.PurInquiry;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

/**
 * <p>Project: erp-cloud-api - PurInquiryMapper.xml</p>
 * <p>Powered by yzc On 2024-01-10 15:19:16</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */
@Mapper
public interface PurInquiryMapper extends BaseMapper<PurInquiry> {

    /**
     * 查询最大code
     * @param code
     * @return
     */
    String MaxCode(String code);

    /**
     * 更新状态
     */
    int updateStatusInt(String code);

    Map queryCodeMap(String code);

}
